<template>
  <div>
    <!-- 头部组件 -->
    <headerPage></headerPage>
    <!-- 内容占位组件 -->
    <nuxt />
    <!-- 底部组件 -->
    <footerPage></footerPage>
  </div>
</template>
<script>
//1.引入头部组件
import headerPage from "@/components/headerPage";
//2.引入底部组件
import footerPage from "@/components/footerPage";

export default {
  //注册组件
  components: {
    footerPage: footerPage,
    headerPage: headerPage
  }
};
</script>

<style lang="less" scoped>
html {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

ul,
ol,
li {
  list-style: none;
}
a {
  text-decoration: none;
}
a:hover {
}
em,
i {
  font-style: normal;
}
</style>
